import request from '../util/request.js'
const baseUrl = ""
//发布列表
export function getgrassList(data) {
	return request.get("grass/user/list", data, {
		noAuth: false
	})
}
//分类
export function getcategoryList(data) {
	return request.get("grass/category/list", data, {
		noAuth: false
	})
}
//列表
export function getList(data) {
	return request.get("grass/list", data, {
		noAuth: false
	})
}
//发布
export function add(data) {
	return request.post("grass/add", data, {
		noAuth: false
	})
}
export function getCollChange(data) {
	return request.get("grass/collection/change", data, {
		noAuth: false,
		noVerify:true
	})
}
//点赞
export function setup(data) {
	return request.get("grass/up", data, {
		noAuth: false
	})
}
// 详情
export function detail(data) {
	return request.get("grass/detail", data, {
		noAuth: false
	})
}
// 分享链接
export function getlink(data) {
	return request.get("grass/link", data, {
		noAuth: false
	})
}